package cn.community.care.module.system.controller.admin.hotproducts.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 热门商品 Response VO")
@Data
@ExcelIgnoreUnannotated
public class HotProductsRespVO {

    @Schema(description = "商品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23551")
    @ExcelProperty("商品ID")
    private Long id;

    @Schema(description = "商品图片", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("商品图片")
    private String image;

    @Schema(description = "商品介绍", example = "随便")
    @ExcelProperty("商品介绍")
    private String description;

    @Schema(description = "商品成分")
    @ExcelProperty("商品成分")
    private String ingredients;

    @Schema(description = "使用方法")
    @ExcelProperty("使用方法")
    private String usageMethod;

    @Schema(description = "商品规格")
    @ExcelProperty("商品规格")
    private String specification;

    @Schema(description = "商品价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "21257")
    @ExcelProperty("商品价格")
    private BigDecimal price;

    @Schema(description = "点赞数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("点赞数")
    private Integer likes;

    @Schema(description = "评论数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("评论数")
    private Integer comments;

    @Schema(description = "收藏数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("收藏数")
    private Integer favorites;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    private String productsClassifyName;

    private String title;

    private String number;

    private String productsStatus;

    private String sort;

}